package com.elric.mall.mapper;

import com.elric.mall.model.PlanProcessNode;
import com.elric.mall.model.PlanProcessNodeExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface PlanProcessNodeMapper {
    long countByExample(PlanProcessNodeExample example);

    int deleteByExample(PlanProcessNodeExample example);

    int deleteByPrimaryKey(String id);

    int insert(PlanProcessNode record);

    int insertBatch(List<PlanProcessNode> record);

    int insertSelective(PlanProcessNode record);

    List<PlanProcessNode> selectByExample(PlanProcessNodeExample example);

    PlanProcessNode selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PlanProcessNode record, @Param("example") PlanProcessNodeExample example);

    int updateByExample(@Param("record") PlanProcessNode record, @Param("example") PlanProcessNodeExample example);

    int updateByPrimaryKeySelective(PlanProcessNode record);

    int updateByPrimaryKey(PlanProcessNode record);
}